package com.db;

/**
 * Created by cheng on 2018/3/31.
 */

public class UserData {                       //用户数据类
    private String userName;                  //用户名
    private String userPwd;                   //用户密码
    private int userId;//用户ID号
    private int userPoint=0;
    public int pwdresetFlag=0;
    //获取用户名
    public String getUserName() {             //获取用户名

        return userName;
    }
    //设置用户名
    public void setUserName(String userName) {  //输入用户名

        this.userName = userName;
    }
    //获取用户密码
    public String getUserPwd() {                //获取用户密码

        return userPwd;
    }
    //设置用户密码
    public void setUserPwd(String userPwd) {     //输入用户密码

        this.userPwd = userPwd;
    }
    //获取用户id
    public int getUserId() {                   //获取用户ID号

        return userId;
    }
    //设置用户id
    public void setUserId(int userId) {       //设置用户ID号
        this.userId = userId;
    }
    //积分
    public int getUserPoint(){
        return userPoint;
    }
    public void setUserPoint(int userPoint){
        this.userPoint=userPoint;
    }

   /* public UserData(String userName, String userPwd, int userId) {    //用户信息
        super();
        this.userName = userName;
        this.userPwd = userPwd;
        this.userId = userId;
    }*/

    public UserData(String userName, String userPwd) {  //这里只采用用户名和密码
        super();
        this.userName = userName;
        this.userPwd = userPwd;
    }

}

